home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
guardian_angel.swf
/
scripts
/
DefineSprite_158
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
758b
|
28 lines
if(_Y - "300" < eval("../:laufy") and eval("../:laufy") < _Y + "344")
{
if(eval("../:laufx") < _X + "60" and _X < eval("../:laufx"))
{
set("../:xcontact","1");
set("../:aufprall","2");
}
if(_X >= eval("../:laufx") and _X - "60" < eval("../:laufx"))
{
set("../:xcontact","2");
set("../:aufprall","2");
}
}
if(_X - "50" < eval("../:laufx") and eval("../:laufx") < _X + "50")
{
if(_Y - "310" < eval("../:laufy") and _Y + "15" >= eval("../:laufy"))
{
set("../:stepy",- "2");
set("../:fallen","0");
set("../:aufprall","1");
}
if(_Y + "15" < eval("../:laufy") and eval("../:laufy") < _Y + "360")
{
set("../:fallen","1");
set("../:stepy","2");
}
}